<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>注册</title>
    <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.css" rel="stylesheet" />
</head>

<body>
<div class="container">
    <div class="row">
        <div class="col-xs-12 col-md-8 col-md-offset-2 col-lg-4 col-lg-offset-4">
            <h2>注册</h2>
            <hr />
            <form method="post" action="/reg">
                <div class="form-group">
                    <label for="item">用户名</label>
                    <input name="username" type="text" class="form-control" id="item" />
                </div>
                <div class="form-group">
                    <label for="time">密码</label>
                    <input name="password" type="password" class="form-control" id="time" />
                </div>
                <hr>
                <button type="submit" class="btn btn-primary btn-block">注册</button>
            </form>
        </div>
    </div>
</div>
</body>

</html>